<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<div id="header">
  <div class="navbar">
    <div class="navbar-inner">
      <div class="container">
        <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </a>
        <a class="brand" href="javascript:;">DJMW Mouse</a>
        <div class="nav-collapse">
          <ul class="nav">
            <li class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">系统设置 <b class="caret"></b></a>
              <ul class="dropdown-menu">
                <li><a href="${ctx}/hr/option/company-profile">公司信息管理</a></li>
                <li><a href="${ctx}/hr/option/department">部门管理</a></li>
                <li><a href="${ctx}/hr/profile">重置密码</a></li>
                <li><a href="${ctx}/hr/trade">账户交易查询</a></li>
              </ul>
            </li>
            <li class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">职位管理 <b class="caret"></b></a>
              <ul class="dropdown-menu">
                <li><a href="${ctx}/hr/position/">职位列表和查询</a></li>
              </ul>
            </li>
            <li class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">简历管理 <b class="caret"></b></a>
              <ul class="dropdown-menu">
                <li><a href="${ctx}/hr/cv/">简历管理</a></li>
<!--                 <li class="divider"></li>
                <li class="nav-header">导航头</li>
                <li><a href="#">被间隔的链接</a></li>
                <li><a href="#">另一个链接</a></li> -->
              </ul>
            </li>
          </ul>
<!--           <form class="navbar-search pull-left" action="">
            <input type="text" class="search-query span2" placeholder="搜索">
          </form> -->
        <shiro:user>
          <div class="btn-group pull-right">
            <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
              <i class="icon-user"></i> <shiro:principal property="name"/>
              <span class="caret"></span>
            </a>
            <ul class="dropdown-menu">
              <li><a href="${ctx}/hr/profile">编辑个人信息</a></li>
              <li><a href="${ctx}/hr/logout">退出</a></li>
            </ul>
          </div>
        </shiro:user>
        </div><!-- /.nav-collapse -->
      </div>
    </div><!-- /navbar-inner -->
  </div>
</div>